package com.glowworms.core.web.controller;

import org.springframework.web.servlet.ModelAndView;

import com.glowworms.core.web.bind.RequestAndResponse;
import com.glowworms.system.service.CommonService;

/**
 * 	所有service全部注入到这里
 */
public abstract class AbstractController {
	
	/**
	 * spring注入 - 业务类 - 通用入口
	 */
	protected CommonService commonService;

	/**
	 * 用于显示全部
	 * 
	 * @param requestAndResponse
	 * @return
	 */
	public abstract ModelAndView index(RequestAndResponse requestAndResponse);
}
